package com.daka.entity;

import lombok.Data;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.util.Date;


@Data
@ToString
@Alias(value = "U_USER_PASSPORT_APPLY_ORDER")
@SuppressWarnings("unused")
public class UserPassportApplyOrder {

    public static final int STAUTS_ABOLISH = -10;//已作废

    public static final int STAUTS_WAITE = 10;//待制证
    public static final int STAUTS_CHECK = 11;//待复核
    public static final int STAUTS_FINSHED = 20;//制证已完成
    public static final int STAUTS_SIGN = 30;//已发证
    public static final int STAUTS_ACTIVATE = 40;//激活
    public static final int STATUS_WAITE_CANCEL = 50;//注销
    public static final int STATUS_CANCEL = 60;//注销
    public static final int STATUS_CLOSE = 70;//已关闭

    private Long id;
    private String appointmentTime;
    private Long bassAddressId;     //基地编号id
    private String cardNo;          //证件号
    private String cardType;        //证件类型
    private Date createTime;        //申请时间
    private String demo;
    private String head;
    private String mobile;          //手机号
    private String name;            //姓名
    private String note;
    private String num;             //订单编号
    private String passportNo;      //公益护照编号
    private String sex;
    private String signAddress;     //发证地址
    private String signDate;        //发证日期
    private String signUnti;
    private Integer status;         //发放状态：10-待制、11-已制证待复核、20-待发证、30-已发证、40-已激活、50-待注销、60-已注销、70-已关闭
    private String validityDate;
    private String applyCase;
    private Integer applyType;          //申请类型、订单类型 1 首次 2 换发 3 补发
    private String appointmenDate;      //预约日期时间
    private String birthday;
    private String contactAddress;
    private String contactName;
    private String contactPhone;
    private String guardianCardNo;
    private String guardianCardType;
    private String guardianName;
    private String guardianPhone;
    private String guardianRelation;
    private String guardianSex;
    private String guardianUnit;
    private String guardianUnitCode;
    private Integer backStatus;
    private Integer orderStatus;

    private Integer applyForm;      //申请方式： 1 在线 2 现场
    private String checkTime;
    private Long checkUser;
    private String printTime;
    private Long printUser;
    private Long signUser;

    private String oldNum;     //原订单号
}